package com.taxer.service;

import com.taxer.db.entity.Taxer;
import com.taxer.exception.TaxerExcepiton;

import java.util.List;

public interface TaxerService {
    List<Taxer> getAllTaxer() throws TaxerExcepiton;
    Taxer getByName(String name) throws TaxerExcepiton;
    void insert(Taxer taxer) throws TaxerExcepiton;
    void deleById(Long id)throws TaxerExcepiton;
    void update(Taxer taxer)throws TaxerExcepiton;

}
